package com.ccys.db.mapper;

import com.ccys.db.dto.doctor.completedOrEndCall.EndCallOfflineBookingCheckEap;
import com.ccys.db.entity.TblBookingEap;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;
import tk.mybatis.mapper.common.MySqlMapper;

import java.util.List;

/**
* Created by Mybatis Generator on 2023/12/25
*/
public interface TblBookingEapMapper extends Mapper<TblBookingEap>, MySqlMapper<TblBookingEap> {

    List<TblBookingEap> findListByEapBenefitId(@Param("eapBenefitId") String eapBenefitId);

    /**
     * EndCallOfflineBooking接口检查eap的
     *
     * @param bookingId booking
     * @return
     */
    EndCallOfflineBookingCheckEap findEndCallOfflineBookingCheckEapByBookingId(@Param("bookingId") String bookingId);
}